package priv.mill.model;

//MariaDB [h1807]> desc dept;
//+----------+--------------+------+-----+---------+-------+
//| Field    | Type         | Null | Key | Default | Extra |
//+----------+--------------+------+-----+---------+-------+
//| d_id     | int(11)      | NO   | PRI | NULL    |       |
//| d_name   | varchar(255) | YES  |     | NULL    |       |
//| d_adress | varchar(500) | YES  |     | NULL    |       |
//+----------+--------------+------+-----+---------+-------+
public class dept {
	
	private int d_id;
	private String d_name;
	private String d_adress;
	public int getD_id() {
		return d_id;
	}
	public void setD_id(int d_id) {
		this.d_id = d_id;
	}
	public String getD_name() {
		return d_name;
	}
	public void setD_name(String d_name) {
		this.d_name = d_name;
	}
	public String getD_adress() {
		return d_adress;
	}
	public void setD_adress(String d_adress) {
		this.d_adress = d_adress;
	}
	public dept(int d_id, String d_name, String d_adress) {
		super();
		this.d_id = d_id;
		this.d_name = d_name;
		this.d_adress = d_adress;
	}
	public dept() {
		super();
	}
	@Override
	public String toString() {
		return "dept [d_id=" + d_id + ", d_name=" + d_name + ", d_adress=" + d_adress + "]";
	}
	
	
}
